﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" 
	x:Class="SamplesShow.MainPage"
    mc:Ignorable="d"
    d:DesignHeight="600" d:DesignWidth="800">

    <Grid x:Name="LayoutRoot" Background="White">
    	<Grid.RowDefinitions>
    		
    		<RowDefinition Height="0.80*"/>
    		<RowDefinition Height="0.15*"/>
			<RowDefinition Height="0.05*"/>
    	</Grid.RowDefinitions>
    	<Grid.ColumnDefinitions>
    		<ColumnDefinition Width="0.80*"/>
    		<ColumnDefinition Width="0.20*"/>
    	</Grid.ColumnDefinitions>
    	<Grid x:Name="sampleview" Background="#FFD0D0D0" Margin="0"/>
    	<Border Grid.ColumnSpan="2" Margin="8,0" BorderThickness="1" CornerRadius="5" BorderBrush="Black" Grid.Row="2" RenderTransformOrigin="0.5,0.5">
    		<TextBlock TextWrapping="Wrap" FontSize="14.667" Height="20" RenderTransformOrigin="0.5,0.5" VerticalAlignment="Bottom" Margin="6,0,-6,4"><Run Text="Silver Night Game Engine Samples http://"/><Run Text="silvery.codeplex.com"/></TextBlock>
    	</Border>
    	<sdk:TreeView x:Name="treeViewSamples" Margin="8,4,4,0" Grid.Column="1" ScrollViewer.VerticalScrollBarVisibility="Visible"/>
    	<TextBox Margin="-50,8,4,8" Grid.Row="1" TextWrapping="Wrap" FontSize="12" Text="Mail:nowpaper@hotmail.com&#xa;www.cnblogs.com/nowpaper&#xa;www.weibo.com/nowpaper&#xa;QQ:34240855&#xa;" IsReadOnly="True" Grid.Column="1"/>
    	<TextBox x:Name="textIllustrate" Margin="8,8,54,8" Grid.Row="1" TextWrapping="Wrap" FontSize="12" IsReadOnly="True"/>
    	<Grid x:Name="laoding" Grid.ColumnSpan="2" Grid.RowSpan="3" Background="#7F000000" Visibility="Collapsed">
    		<Image HorizontalAlignment="Center" Height="64" Source="Res/download.png" Stretch="Fill" VerticalAlignment="Center" Width="64" Margin="0,-111,0,0"/>
    		<Grid Width="200" HorizontalAlignment="Center" Height="40" VerticalAlignment="Center">
    			<TextBlock x:Name="progressName" TextWrapping="Wrap" Text="Loading " TextAlignment="Center" FontSize="12" HorizontalAlignment="Center" VerticalAlignment="Top" Foreground="White"/>
    			<TextBlock x:Name="progressValue" TextWrapping="Wrap" Text="20%" TextAlignment="Center" FontSize="12" HorizontalAlignment="Center" VerticalAlignment="Bottom" Foreground="White" Margin="0,0,1,0"/>
    		</Grid>
    	</Grid>
    </Grid>
</UserControl>
